EC-CUBE 2.4.4
[ class tree: EC-CUBE 2.4.4 ] [ index: EC-CUBE 2.4.4 ] [ all elements ]

Class: SC_MobileKaraMail

Source Location: /SC_MobileKaraMail.php

Class Overview


モバイルサイトの空メールを扱うクラス


Methods


Child classes:

SC_MobileKaraMail_Postfix
モバイルサイトの空メールを扱うクラス (Postfix用)
SC_MobileKaraMail_Qmail
モバイルサイトの空メールを扱うクラス (qmail用)

Class Details

[line 30]
モバイルサイトの空メールを扱うクラス



[ Top ]


Class Methods


method factory [line 37]

object SC_MobileKaraMail &factory( )

環境変数から MTA を判別し、対応する SC_MobileKaraMail またはそのサブクラス のインスタンスを作成する。



Tags:

return:  またはそのサブクラスのインスタンスを返す。


[ Top ]

method getCommand [line 137]

string|false getCommand( )

宛先のメールアドレスの拡張部分からコマンド名を取得する。

parse() 実行後に使用すること。




Tags:

return:  コマンド名を返す。取得できなかった場合は false を返す。


[ Top ]

method getSender [line 126]

string|false getSender( )

送信者のメールアドレスを取得する。

parse() 実行後に使用すること。




Tags:

return:  送信者のメールアドレスを返す。取得できなかった場合は false を返す。


[ Top ]

method getToken [line 157]

string|false getToken( )

宛先のメールアドレスの拡張部分からトークンを取得する。

parse() 実行後に使用すること。




Tags:

return:  トークンを返す。取得できなかった場合は false を返す。


[ Top ]

method parse [line 54]

void parse( )

標準入力からメールを読み込み、必要な情報を取得する。



Overridden in child classes as:

SC_MobileKaraMail_Postfix::parse()
SC_MobileKaraMail_Qmail::parse()

[ Top ]

method success [line 106]

void success( )

配信が完了したことを示す終了ステータスでプログラムを終了する。



[ Top ]

method temporaryFailure [line 115]

void temporaryFailure( )

一時的なエラーを示す終了ステータスでプログラムを終了する。



Overridden in child classes as:

SC_MobileKaraMail_Qmail::temporaryFailure()
一時的なエラーを示す終了ステータスでプログラムを終了する。

[ Top ]


Documentation generated on Fri, 24 Feb 2012 14:00:18 +0900 by Seasoft